From 918a5c1de8f413e81e4758a2dda56fed58f588e3 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sat, 15 Oct 2005 16:25:29 +0100 Subject: [PATCH] Remove bogus error message in libxenctrl. Signed-off-by: Keir Fraser --- tools/libxc/xc_private.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c index 94cc947400..ea3798ebca 100644 --- a/tools/libxc/xc_private.c +++ b/tools/libxc/xc_private.c @@ -114,11 +114,7 @@ int xc_mmuext_op( goto out1; } - if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 ) - { - fprintf(stderr, "Dom_mmuext operation failed (rc=%ld errno=%d)-- need to" - " rebuild the user-space tool set?\n",ret,errno); - } + ret = do_xen_hypercall(xc_handle, &hypercall); safe_munlock(op, nr_ops*sizeof(*op)); @@ -227,11 +223,7 @@ int xc_memory_op(int xc_handle, break; } - if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 ) - { - fprintf(stderr, "hypercall failed (rc=%ld errno=%d)-- need to" - " rebuild the user-space tool set?\n",ret,errno); - } + ret = do_xen_hypercall(xc_handle, &hypercall); switch ( cmd ) { -- 2.30.2